package com.lanchetech.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 推广海报
 */
@ApiModel(value = "com-lanchetech-entity-Poster")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Poster implements Serializable {
    /**
     * id
     */
    @ApiModelProperty(value = "id")
    private Long id;

    /**
     * 目录
     */
    @ApiModelProperty(value = "目录")
    private String catalog;

    /**
     * 推广海报图片
     */
    @ApiModelProperty(value = "推广海报图片")
    private String image;

    /**
     * 标题
     */
    @ApiModelProperty(value = "标题")
    private String title;

    /**
     * 降序，从大到小排序
     */
    @ApiModelProperty(value = "降序，从大到小排序")
    private Integer sorts;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date createdAt;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间")
    private Date updatedAt;

    private static final long serialVersionUID = 1L;

    public static PosterBuilder builder() {
        return new PosterBuilder();
    }
}